Lowest Common Ancestor Problem | Eulerian Path Method